package com.itheima.mall.pojo;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 会员表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ums_member")
public class Member {

    private Long id;
    private Long memberLevelId;
    private String username;        //用户名
    private String password;        //密码
    private String nickname;        //昵称
    private String phone;           //手机号码
    private Integer status;         //账号启用状态：0->禁用；1->启用
    private DateTime createTime;        //注册时间
    private String icon;        //头像
    private Integer gender;     //性别：0->未知；1->男；2->女
    private Date birthday;      //生日
    private String city;        //所作城市
    private String job;         //职业
    private String personalizedSignature;       //个性签名
    private Integer sourceType;         //用户来源
    private Integer integration;        //积分
    private Integer growth;         //成长值
    private Integer luckeyCount;        //剩余抽奖次数
    private Integer historyIntegration;     //历史积分数量
}